<template>
  <div id="app">
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </div>
    <router-view/>
    <van-button type="primary">主要按钮</van-button>
<van-button type="info">信息按钮</van-button>
<van-button type="default">默认按钮</van-button>
<van-button type="warning">警告按钮</van-button>
<van-button type="danger">危险按钮</van-button>
<div class="tab">
			<div :class="{'item':true,'active':active==0?true:false}" @click="active=0">男士腕表</div>
			<div :class="{'item':true,'active':active==1?true:false}" @click="active=1">女士腕表</div>
		</div>
  </div>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}

.tab {
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 24px;
	}

	.tab .item {
		margin: 0 120px;
		cursor: pointer;
	}

	.tab .item.active {
		color: #E7001C;
	}
</style>
